
<template>
  <div class="discover_box">
    <topHeader>
      <div slot="left">
        <img src="./../../assets/img/return.png" alt="" @click="goIndex">
      </div>
      <div slot="center">隐私条款</div>
    </topHeader>
    <div class="discover_con">
      <p>{{ this.articleInfo }}</p>
    </div>
  </div>
</template>

<script>
import topHeader from './../../components/topHeader'
import { loadArticle } from '@/api/allapis'
export default {
  data () {
    return {
      articleInfo: ''
    }
  },

  components: {
    topHeader
  },

  computed: {},

  mounted () {
    this.loadArticle()
  },

  methods: {
    goIndex () {
      this.$router.go(-1)
    },
    loadArticle () {
      loadArticle().then(res => {
        this.articleInfo = res.data
      })
    }
  }
}

</script>
<style lang='less' scoped>
.discover_con{
  p{
    color: #000;
    padding: 15px;
    padding-top: 55px;
  }
}
</style>